@extends('model/member')
@section('title','账户安全')
@section('content')

		<div class="m_right">
            <p></p>
            <div class="mem_tit">账户安全</div>
            <div class="m_des">
            
                <form action="/safe/phone" method="post">
                @if(session('phoneSuccess'))
              <div class="mws-form-message success">
                 {{session('phoneSuccess')}}
              </div>
            @endif
            @if(session('phoneError'))
              <div class="mws-form-message error">
                 {{session('phoneError')}}
              </div>
            @endif
                <table border="0" style="width:880px;"  cellspacing="0" cellpadding="0">
                  <tr height="45">
                    <td width="80" align="right">原手机 &nbsp; &nbsp;</td>
                    <td><input type="text" name="oldPhone" class="add_ipt" style="width:180px;" />&nbsp; <font color="#ff4e00">*</font></td>
                  </tr>
                  <tr height="45">
                    <td align="right">新手机 &nbsp; &nbsp;</td>
                    <td><input type="text" name="phone" class="add_ipt" style="width:180px;" />&nbsp; <font color="#ff4e00">*</font></td>
                  </tr>
                  <tr height="50">
                    {{csrf_field()}}
                    <td>&nbsp;</td>
                    <td><input type="submit" value="确认修改" class="btn_tj" /></td>
                  </tr>
                </table>
                </form>
            </div>
            
            <div class="m_des">
                <form action="/safe/email" method="post">
                @if(session('emailSuccess'))
                  <div class="mws-form-message success">
                     {{session('emailSuccess')}}
                  </div>
                @endif
                @if(session('emailError'))
                  <div class="mws-form-message error">
                     {{session('emailError')}}
                  </div>
  @endif
                <table border="0" style="width:880px;"  cellspacing="0" cellpadding="0">
                  <tr height="45">
                    <td width="80" align="right">原邮箱 &nbsp; &nbsp;</td>
                    <td><input type="text" name="oldEmail" class="add_ipt" style="width:180px;" />&nbsp; <font color="#ff4e00">*</font></td>
                  </tr>
                  <tr height="45">
                    <td align="right">新邮箱 &nbsp; &nbsp;</td>
                    <td><input type="text" name="email" class="add_ipt" style="width:180px;" />&nbsp; <font color="#ff4e00">*</font></td>
                  </tr>
                  <tr height="50">
                  {{csrf_field()}}
                    <td>&nbsp;</td>
                    <td><input type="submit" value="确认修改" class="btn_tj" /></td>
                  </tr>
                </table>
                </form>
            </div>
            
            <div class="m_des">
                <form method="post" action="/safe/password">
                @if(session('passSuccess'))
              <div class="mws-form-message success">
                 {{session('passSuccess')}}
              </div>
            @endif
            @if(session('passError'))
              <div class="mws-form-message error">
                 {{session('passError')}}
              </div>
            @endif
                <table border="0" style="width:880px;"  cellspacing="0" cellpadding="0">
                  <tr height="45">
                    <td width="80" align="right">原密码 &nbsp; &nbsp;</td>
                    <td><input type="password" name='oldPassword' class="add_ipt" style="width:180px;" />&nbsp; <font color="#ff4e00">*</font></td>
                  </tr>
                  <tr height="45">
                    <td align="right">新密码 &nbsp; &nbsp;</td>
                    <td><input type="password" name="password" class="add_ipt" style="width:180px;" />&nbsp; <font color="#ff4e00">*</font></td>
                  </tr>
                  <tr height="45">
                    <td align="right">确认密码 &nbsp; &nbsp;</td>
                    <td><input type="password" name="repassword" class="add_ipt" style="width:180px;" />&nbsp; <font color="#ff4e00">*</font></td>
                  </tr>
                  <tr height="50">
                  {{csrf_field()}}
                    <td>&nbsp;</td>
                    <td><input type="submit" value="确认修改" class="btn_tj" /></td>
                  </tr>
                </table>
                </form>
            </div>
   
        </div>
    </div>
	<!--End 用户中心 End--> 
@endsection